package com.yc.cloud.sys.model;

import com.yc.cloud.common.model.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 杨智杰
 * @since 2021/8/17 15:14
 */
@Data
@Accessors(chain = true)
public class SysDepartment extends BaseEntity {

    @ApiModelProperty(value = "上级部门Id")
    private Long pid;

    @ApiModelProperty(value = "部门名")
    private String name;

    @ApiModelProperty(value = "联系人")
    private String linkMan;

    @ApiModelProperty(value = "联系电话")
    private String linkPhone;

    @ApiModelProperty(value = "部门等级")
    private Integer level;

    @ApiModelProperty(value = "数据范围(部门Id)")
    private String dataScope;

    @ApiModelProperty(value = "当前状态")
    private Integer status;

}
